package com.goods.business.mapper;

import com.goods.common.model.business.ProductCategory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface ProductCategoryMapper extends Mapper<ProductCategory> {
    /**
     * 删除分类：如果有子类的话，一起删除
     *
     * @param idList
     */
    void deleteCategory(@Param("idList") List<Long> idList);
}
